package com.naiterui.ehp.bs.patient.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.PatientAccountHistory;

/**
 * <pre>
 * 患者钱包账户历史就持久化接口实现
 * </pre>
 *
 * @author fangguanhong
 * @date 2020/4/10 下午4:41
 * @since 1.0.0
 */
@Repository
public interface IApPatientAccountHistoryRepository extends BaseJpaRepository<PatientAccountHistory, Long> {

    Page<PatientAccountHistory> findByPatientId(Long patientId, Pageable pageable);
}
